package com.tour.sic.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @program: SIC
 * @description: 实体层 储存攻略文章评论的回复的表
 * @author: team
 * @create: 2021-04-22 16:25:00
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Reply {
    private Integer reply_id;
    private Integer comment_id;
    private Integer reply_target_id;
    private Integer uid;
    private String reply_type;
    private String content;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date ctime;
}